<div class="detail_box layui-form layuimini-form" style="padding: 20px;">
    <style>
        .detail_box input{
            border: none
        }
        .detail_box textarea{
            border: none
        }
    </style>
    <div class="layui-row">
        <div class="layui-col-md4 layui-col-lg4" style="display: flex;justify-content:center;align-items:center">
            <img src="<{$info.avatar}>" alt="" width="180" height="180" style="border-radius:50%">
        </div>
        <div class="layui-col-md8 layui-col-lg8">

            <div class="layui-form-item">
                <label class="layui-form-label required">昵称:</label>
                <div class="layui-input-inline">
                    <input type="text" disabled  value="<{$info.nick_name}>" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label required">手机号:</label>
                <div class="layui-input-inline">
                    <input type="text" disabled  value="<{$info.phone}>" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label required">邮箱:</label>
                <div class="layui-input-inline">
                    <input type="text" disabled  value="<{$info.email|default='无'}>" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label required">实名认证:</label>
                <div class="layui-input-inline">
                    <?php $certification_status_list = [1=>'待审核',2=>'待实名',3=>'驳回',100=>'已认证']; ?>
                    <input type="text" disabled  value="<{$certification_status_list[$info['certification_status']]}>" class="layui-input">
                </div>
            </div>

        </div>
        <{if $info['certification_status'] != 2}>
        <div class="layui-col-md12 layui-col-lg12">
            <blockquote class="layui-elem-quote">实名信息</blockquote>
            <div class="layui-col-md4 layui-col-lg4">
                <div class="layui-form-item">
                    <label class="layui-form-label required">姓名:</label>
                    <div class="layui-input-inline">
                        <input type="text" disabled  value="<{$info.true_name}>" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-col-md4 layui-col-lg4">
                <div class="layui-form-item">
                    <label class="layui-form-label required">证件类型:</label>
                    <div class="layui-input-inline">
                        <input type="text" disabled  value="身份证" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-col-md4 layui-col-lg4">
                <div class="layui-form-item">
                    <label class="layui-form-label required">证件号码:</label>
                    <div class="layui-input-inline">
                        <input type="text" disabled  value="<{$info['ext']['id_number']}>" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-col-md4 layui-col-lg4">
                <div class="layui-form-item">
                    <label class="layui-form-label required">正面图片:</label>
                    <div class="layui-input-inline">
                        <img src="<{$info['ext']['id_front']}>" alt="" width="200" height="100" onclick="show_image_box(this.src,800,600)">
                    </div>
                </div>
            </div>
            <div class="layui-col-md4 layui-col-lg4">
                <div class="layui-form-item">
                    <label class="layui-form-label required">背面图片:</label>
                    <div class="layui-input-inline">
                        <img src="<{$info['ext']['id_reverse']}>" alt="" width="200" height="100" onclick="show_image_box(this.src,800,600)">
                    </div>
                </div>
            </div>
            <{if $info['certification_status'] == 3}>
            <div class="layui-col-md4 layui-col-lg4">
                <div class="layui-form-item">
                    <label class="layui-form-label required">驳回理由:</label>
                    <div class="layui-input-inline">
                        <textarea disabled class="layui-textarea"><{$info['ext']['certification_reasons']}></textarea>
                    </div>
                </div>
            </div>
            <{/if}>
        </div>
        <{/if}>
        <div class="layui-col-md12 layui-col-lg12">
            <blockquote class="layui-elem-quote">账号绑定</blockquote>
            <div class="layui-col-md4 layui-col-lg4">
                <div class="layui-form-item">
                    <label class="layui-form-label required">微信:</label>
                    <div class="layui-input-inline">
                        <?php $is_wechat_list = [1=>'已绑定',2=>'未绑定']; ?>
                        <input type="text" disabled  value="<{$is_wechat_list[$info['is_wechat']]}>" class="layui-input">
                    </div>
                </div>
            </div>

        </div>

        <div class="layui-col-md12 layui-col-lg12">
            <blockquote class="layui-elem-quote">账号信息</blockquote>
            <div class="row layui-col-md8 layui-col-lg8">
                <div class="layui-col-md6 layui-col-lg6">
                    <div class="layui-form-item">
                        <label class="layui-form-label required">登录名:</label>
                        <div class="layui-input-inline">
                            <input type="text" disabled  value="<{$info['user_name']}>" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6 layui-col-lg6">
                    <div class="layui-form-item">
                        <label class="layui-form-label required">注册时间:</label>
                        <div class="layui-input-inline">
                            <input type="text" disabled  value="<{$info['created_at']}>" class="layui-input">
                        </div>
                    </div>
                </div>
            </div>
        </div>


        <div class="layui-col-md12 layui-col-lg12">
            <blockquote class="layui-elem-quote">会员信息</blockquote>

            <div class="row layui-col-md8 layui-col-lg8">
                <div class="layui-col-md6 layui-col-lg6">
                    <div class="layui-form-item">
                        <label class="layui-form-label required">会员等级:</label>
                        <div class="layui-input-inline">
                            <?php $user_level_list = [0=>'无',1=>'喵达人']; ?>
                            <input type="text" disabled  value="<{$user_level_list[$info['user_level']]}>" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6 layui-col-lg6">
                    <div class="layui-form-item">
                        <label class="layui-form-label required">过期时间:</label>
                        <div class="layui-input-inline">
                            <?php $user_level_edate = $info['user_level'] == 1 ? $info['user_level_edate'] : '---';?>
                            <input type="text" disabled  value="<{$user_level_edate}>" class="layui-input">
                        </div>
                    </div>
                </div>
            </div>

            <div class="row layui-col-md8 layui-col-lg8">
                <div class="layui-col-md6 layui-col-lg6">
                    <div class="layui-form-item">
                        <label class="layui-form-label required">商家等级:</label>
                        <div class="layui-input-inline">
                            <?php $merchant_level_list = [0=>'无',1=>'超级商人']; ?>
                            <input type="text" disabled  value="<{$merchant_level_list[$info['merchant_level']]}>" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6 layui-col-lg6">
                    <div class="layui-form-item">
                        <label class="layui-form-label required">过期时间:</label>
                        <div class="layui-input-inline">
                            <?php $merchant_level_edate = $info['merchant_level'] == 1 ? $info['merchant_level_edate'] : '---';?>
                            <input type="text" disabled  value="<{$merchant_level_edate}>" class="layui-input">
                        </div>
                    </div>
                </div>
            </div>
        </div>


        <div class="layui-col-md12 layui-col-lg12">
            <blockquote class="layui-elem-quote">推广信息</blockquote>
            <div class="layui-col-md4 layui-col-lg4">
                <div class="layui-form-item">
                    <label class="layui-form-label required">直推父级:</label>
                    <div class="layui-input-inline">
                        <?php $parent_name = $info['parent'] ? $info['parent']['user_name'] . '-' . $info['parent']['phone'] : '无'; ?>
                        <input type="text" disabled  value="<{$parent_name}>" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-col-md4 layui-col-lg4">
                <div class="layui-form-item">
                    <label class="layui-form-label required">推广人数:</label>
                    <div class="layui-input-inline">
                        <input type="text" disabled  value="<{$info['child_total']}>" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-col-md4 layui-col-lg4">
                <div class="layui-form-item">
                    <label class="layui-form-label required">总计收益:</label>
                    <div class="layui-input-inline">
                        <input type="text" disabled  value="<{:fen_to_float($info['income'])}>" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-col-md4 layui-col-lg4">
                <div class="layui-form-item">
                    <label class="layui-form-label required">账户余额:</label>
                    <div class="layui-input-inline">
                        <input type="text" disabled  value="<{:fen_to_float($info['balance'])}>" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-col-md4 layui-col-lg4">
                <div class="layui-form-item">
                    <label class="layui-form-label required">账户押金:</label>
                    <div class="layui-input-inline">
                        <input type="text" disabled  value="<{:fen_to_float($info['deposit'])}>" class="layui-input">
                    </div>
                </div>
            </div>
        </div>


    </div>

</div>